package com.neusoft.neuiotms.dcom.repository.alter;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcom.model.alter.AlterFrontlineProcessingForm;

public interface AlterFrontlineProcessingFormRepository
        extends JpaRepository<AlterFrontlineProcessingForm, Long> {

    AlterFrontlineProcessingForm findByWorkNumAndTaskId(String workNum, String taskId);

    //    List<AlterFrontlineProcessingForm> findByWorkNum(String workNum);

    AlterFrontlineProcessingForm findTopByWorkNumOrderByIdDesc(String workNum);

}
